.yg-carts {
    background: #fff;
    height: 100vh;

    div.yg-carts-title {
        .cart-content-nav {
            background: var(--themeColor);
        }
    }

    // 购物车有商品时
    .cart-content {
        .cart-list {
            margin-bottom: 1.333333rem;

            .cart-con-item {
                display: flex;
                align-items: center;
                height: 2.666667rem;
                width: 100%;
                padding: 0 0.266667rem;
                border-bottom: 1px solid #ddd;

                // .list-item-left {
                //     // i.iconfont.icon-danxuanxuanzhong {
                //     //     color: var(--themeColor);
                //     // }
                // }
                .active{
                    color: var(--themeColor);
                }

                .list-item-center {
                    margin: 0 0.133333rem;

                    img {
                        height: 2.4rem;
                        width: 2.4rem;
                    }
                }

                .list-item-right {
                    flex: 4;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-around;
                    height: 2.666667rem;

                    .right-tit {
                        p {
                            display: -webkit-box;
                            overflow: hidden;
                            line-height: 0.533333rem;
                            -webkit-line-clamp: 2;
                            -webkit-box-orient: vertical
                        }
                    }

                    .right-price {
                        display: flex;
                        justify-content: space-between;

                        .price-l {
                            span {
                                color: var(--themeColor);
                            }
                        }

                        .price-r {
                            i.iconfont.icon-jian {
                                margin-right: 0.266667rem;
                            }

                            span.right-num {
                                margin-right: 0.266667rem;
                                font-size: 0.426667rem;
                            }

                            i.iconfont.icon-jia {
                                margin-right: 0.266667rem;
                            }
                        }
                    }
                }
            }
        }


        .carts-btn {
            position: fixed;
            bottom: 1.333333rem;
            width: 100%;
            height: 1.333333rem;
            margin-left: 0.133333rem;
            align-items: center;
            background-color: white;
            border-top: 1px solid #ccc;
            display: flex;

            .checkAll {
                flex: 1;

               .active{
                color: var(--themeColor);
               }

                span {
                    font-size: 0.373333rem;
                    margin-left: 0.266667rem;
                }
            }

            .totalPrice {
                flex: 2;
                font-size: 0.373333rem;

                .price {
                    font-size: 0.426667rem;
                    color: var(--themeColor);
                }
            }

            .jsbtn {
                flex: 1;
                display: flex;
                align-items: center;
                justify-content: center;

                .go {
                    margin-right: 0.266667rem;
                    width: 2.666667rem;
                    height: 0.8rem;
                    font-size: 0.373333rem;
                    color: white;
                    border-radius: 0.533333rem;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    background-color: var(--themeColor);
                }
            }
        }
    }

    // 购物车为空时
    .cart-empty {
        img {
            width: 100%;
        }

        .empty_text {
            text-align: center;
            font-size: 0.533333rem;

            a {
                color: var(--themeColor);
            }
        }
    }
}